package com.itheima.config;

import org.springframework.context.annotation.*;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @Author 王加鑫
 * @Date 2021/08/04 21:12
 * @Since JDK 1.8
 * @EnableTransactionManagement:开启注解支持
 * @EnableAspectJAutoProxy：开启aop支持
 */
@Configuration
@PropertySource("classpath:jdbc.properties")
@Import({JdbcConfig.class,MyBatisConfig.class})
@EnableTransactionManagement
@EnableAspectJAutoProxy
@ComponentScan("com.itheima")
public class SpringConfig {
}
